How to create or update a translation of Scribus

How to create or update a translation of Scribus

Scribus is available in over 20 languages thanks to the many willing souls out there who have spent the time translating. This is no small task, but to be honest, not a very difficult one technically. This page outlines the requirements and procedures for creating or updating such a translation.

Please note, there are many willing contributors to the Scribus project and there may already be a translation in progress for the language you wish to help for. It would be worthwhile asking on the mailing list to see if someone has started. This is also a courtesy matter. At this point we don't really have any "official" translators but perhaps you can work together, or take over an old translation if the previous translator no longer has the time to keep it up-to-date. So, here we go...

Requirements

Procedure for creating or updating a translation file

  1. Check out CVS as per instructions on this page.
  2. Move into the Scribus directory.
  3. Run qmake -project.
  4. Edit the Scribus.pro file to have the language listed at the bottom that you wish to translate for. For example,
    TRANSLATIONS += scribus/po/scribus.en_GB.ts
    Of course, replace the en_GB in this example with the language code you are working with.
  5. Run lupdate Scribus.pro.
  6. Start KBabel or QT Linguist and load the scribus/po/scribus.en_GB.ts file.
  7. Perform the translations.
  8. Save the .ts file.
  9. Run lrelease scribus/po/scribus.en_GB.ts -qm scribus/qm/scribus.en_GB.qm. this can be simplified by just running lrelease scribus/po/scribus.en_GB.ts and the qm will be created for you in the scribus/po directory. The previous command allows a make && make install with the translations in their correct places.
  10. Copy the .qm file to the /usr/local/lib/scribus directory (or appropriate Scribus installation directory on your PC).
  11. Run Scribus with the language code from the command line like: scribus -lang en_GB.
  12. Once you are happy with this, please open your web browser to the Scribus Bugs Website and submit a new bug with Title of "British English Translation Update" and Category of "Translation" and upload the new .ts AND .qm into the bug system. If you can, please make a tar.bz2 file of the two to save some space on the bugs site.
  13. That's it! When the next CVS release is made, your new translation will be added by the team.

So that's it really! Enjoy Scribus in your favourite language!